/**
 * Copyright � 2012 GestureSoft. ALL RIGHTS RESERVED.
 * This file contains proprietary and GestureSoft CONFIDENTIAL Information.
 * Use, disclosure or reproduction is prohibited.
 * 
 * @fileName IDatabaseManager.as
 * @creationDate Aug 8, 2012
 * @author 
 * @version 1.0
 */
package com.gesturesoft.imultimax.model.interfaces
{
	
	import flash.data.SQLResult;
	
	import mx.collections.ArrayCollection;

	public interface IDatabaseManager
	{
		
		function prepareTable(tableName:String):void;
		function insertValues(query:String):void;
		function update(query:String):void;
		function isEmpty(tableName:String):Boolean;
		function getRow(query:String):ArrayCollection;
		function execute(query:String):void;
		function getData(query:String):ArrayCollection;
		function getCount(query:String):SQLResult;
		function setTransactionStartPoint():void;
		function commitTransaction():void;
		function rollBackTransactions():void;
		
	}
	
}